package cn.mafangui.hotel.response;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 消息类型描述
 */
@Getter
@AllArgsConstructor
public enum MsgType {

    SUCCESS(1000,"SUCCESS"),
    FAILED(1001,"FAILURE"),
    PARAM_IS_INVALID(1001,"PARAM_IS_INVALID"),
    PERMISSION_DENIED(1002,"PERMISSION_DENIED"),
    NOT_LOGIN(1100,"NOT LOGIN"),
    ;

    private Integer code;
    private String message;

}
